<?php
/**
 * Created by PhpStorm.
 * User: ouryun
 * Date: 2021/5/14
 * Time: 14:12
 */

namespace app\api\model;


use think\Model;

class ShopClerksModel extends Model
{
    /**
     * 员工表
     * @var string
     */
    protected $table = 'lg_shop_clerks';

    /**
     * 获取员工id
     * @param $faceId
     * @return mixed
     */
    public function getAShopClerksId($faceId)
    {
        return self::where('face_id', $faceId)->value('id', 0);
    }
}